import { RouterModule } from 'base'

Vue.use(VueRouter)

// 定义首页模块
const HomeModule = RouterModule.def({
  name: 'home',
  path: '/home',
  alias: '/',
  meta: {
    module: 'home',
    slideBack: false
  },
  component: () => import('_c/home')
})

export default new VueRouter({
  routes: [HomeModule('')]
})
